module btoolkit {

	export class ScreenShotUtil {

		public static shotToBase64(currStage: egret.Stage): string {
			let render = new egret.RenderTexture();
			render.drawToTexture(currStage);
			let imgBase64 = render.toDataURL("image/jpeg");
			return imgBase64;
		}

	}
}